package view;

import javax.swing.JFrame;
import java.awt.CardLayout;

public class TelaPrincipal extends JFrame {
	
	private static final long serialVersionUID = 1L;

	public TelaPrincipal () {
		super("Super Trunfo");
		setSize(805, 627);
		setResizable(false);
		setLocationRelativeTo(null);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		getContentPane().setLayout(new CardLayout(0, 0));
		getContentPane().add(new TelaConfig(), "config");
		
		setVisible(true);
	}
	
	public static void main(String[] args) {
		new TelaPrincipal();
	}
}
